i=0;

const qwe = document.querySelector("#messageText");
  
a=eval(atob(document.querySelectorAll('li')[i].innerHTML.replace(/^(.)+ (.)+: /,"").replace(/ (.)+$/,"").slice(4)));
qwe.value = a;
var event = new Event("submit", {bubbles : true, cancelable : true});
sendMessage(event);
i++